<script setup>
import { ref } from 'vue'

const count = ref(0)

function increment() {
  count.value ++
}
</script>

<template>
    <header>Ref 用法</header>

  <button @click="increment">
    {{ count }}
  </button>
</template>